﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nvigorate.Aspect;
using Nvigorate.Relational.State;

namespace Nvigorate.TestObjects
{
    [StateTrackingAspect]
    public class Address : StateTracking
    {
        private long _addressId = 0;
        private string _streetNumber = "";
        private string _streetName = "";
        private string _additional1 = "";
        private string _additional2 = "";
        private string _city = "";
        private string _state = "";
        private string _zip = "";

        public long AddressId
        {
            get { return _addressId; }
            set { _addressId = value; }
        }

        public string Additional1
        {
            get { return _additional1; }
            set { _additional1 = value; }
        }

        public string Additional2
        {
            get { return _additional2; }
            set { _additional2 = value; }
        }

        public string StreetNumber
        {
            get { return _streetNumber; }
            set { _streetNumber = value; }
        }

        public string StreetName
        {
            get { return _streetName; }
            set { _streetName = value; }
        }

        public string City
        {
            get { return _city; }
            set { _city = value; }
        }

        public string State
        {
            get { return _state; }
            set { _state = value; }
        }

        public string ZipCode
        {
            get { return _zip; }
            set { _zip = value; }
        }
    }
}
